package com.opencloud.ywt.client.model.entity;

import com.baomidou.mybatisplus.annotation.FieldFill;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModelProperty;

import java.io.Serializable;
import java.util.Date;

/**
 * 学生信息
 * @author yeyong
 */
@TableName("bhyf_Student")
public class BhyfStudent implements Serializable {

    private static final long serialVersionUID= -1905959096982853250L;
    /**
     * 园所ID
     */
    @ApiModelProperty(value = "园所ID")
    private Integer gid;
    /**
     * 学生ID
     */
    @TableId(value = "personid")
    @ApiModelProperty(value = "学生ID")
    private Integer personid;

    /**
     * 学生名称
     */
    @ApiModelProperty(value = "学生名称")
    private String studentname;

    /**
     * 班级ID
     */
    @ApiModelProperty(value = "班级ID")
    private Integer classid;


    /**
     * 班级名称
     */
    @ApiModelProperty(value = "班级名称")
    private String classname;

    /**
     * 年级ID
     */
    @ApiModelProperty(value = "年级ID")
    private Integer gradenum;

    /**
     * 手环地址
     */
    @ApiModelProperty(value = "手环地址")
    private String mac;


    @ApiModelProperty(value = "头像")
    private String logo;


    @ApiModelProperty(value = "性别")
    private Integer gender;


    public Integer getGid() {
        return gid;
    }

    public void setGid(Integer gid) {
        this.gid = gid;
    }

    public Integer getPersonid() {
        return personid;
    }

    public void setPersonid(Integer personid) {
        this.personid = personid;
    }

    public String getStudentname() {
        return studentname;
    }

    public void setStudentname(String studentname) {
        this.studentname = studentname;
    }

    public Integer getClassid() {
        return classid;
    }

    public void setClassid(Integer classid) {
        this.classid = classid;
    }

    public String getClassname() {
        return classname;
    }

    public void setClassname(String classname) {
        this.classname = classname;
    }

    public Integer getGradenum() {
        return gradenum;
    }

    public void setGradenum(Integer gradenum) {
        this.gradenum = gradenum;
    }

    public String getMac() {
        return mac;
    }

    public void setMac(String mac) {
        this.mac = mac;
    }

    public Integer getGender() {
        return gender;
    }

    public void setGender(Integer gender) {
        this.gender = gender;
    }

    public String getLogo() {
        return logo;
    }

    public void setLogo(String logo) {
        this.logo = logo;
    }

    @Override
    public String toString() {
        return "BhyfStudent{" +
                "gid=" + gid +
                "personid=" + personid +
                ", studentname=" + studentname +
                ", classid=" + classid +
                ", classname=" + classname +
                ", gradenum=" + gradenum +
                ", mac=" + mac +
                ", gender=" + gender +
                ", logo=" + logo +
                "}";
    }
}
